#include "Delay.h"
#include<intrins.h>


void Delay1ms() //@11.0592MHz
{
    unsigned char data i,j;
    i = 2;
    j = 199;
    do {
        while (--j);
    } while (--i);
}

void Delay(unsigned char xms)
{

    while (xms > 0) {
        Delay1ms();
        xms--;
    }
}

void Delay15ms()
{
	Delay(15);
}

void Delay5ms()
{
	Delay(5);
}